package com.woniuxy.three.pms.bean;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

public class CommentBean {
private int id;
private int order_id;
@NotNull(message = "请给本次服务做出评分！")
private Integer  level;
@NotBlank(message = "评论内容不能为空！")
private String message;
private String create_time;

public CommentBean() {
}

public CommentBean(int id, int order_id, @NotBlank(message = "请给本次服务做出评分！") Integer level,
		@NotBlank(message = "评论内容不能为空！") String message, String create_time) {
	this.id = id;
	this.order_id = order_id;
	this.level = level;
	this.message = message;
	this.create_time = create_time;
}

public CommentBean(int order_id, @NotBlank(message = "请给本次服务做出评分！") Integer level,
		@NotBlank(message = "评论内容不能为空！") String message, String create_time) {
	super();
	this.order_id = order_id;
	this.level = level;
	this.message = message;
	this.create_time = create_time;
}

public int getId() {
	return id;
}

public void setId(int id) {
	this.id = id;
}

public int getOrder_id() {
	return order_id;
}

public void setOrder_id(int order_id) {
	this.order_id = order_id;
}

public Integer getLevel() {
	return level;
}

public void setLevel(Integer level) {
	this.level = level;
}

public String getMessage() {
	return message;
}

public void setMessage(String message) {
	this.message = message;
}

public String getCreate_time() {
	return create_time;
}

public void setCreate_time(String create_time) {
	this.create_time = create_time;
}

@Override
public String toString() {
	return "CommentBean [id=" + id + ", order_id=" + order_id + ", level=" + level + ", message=" + message
			+ ", create_time=" + create_time + "]";
}


	
	
}
